import type { App } from 'vue'
import AnyTable from './AnyTable.vue'
import WeChatLogin from './WeChatLogin.vue'
import MapLocationPicker from './MapLocationPicker.vue'
import { AnyMessageBox } from './AnyMessageBox'

// 全局组件注册
export const setupGlobalComponents = (app: App) => {
  app.component('AnyTable', AnyTable)
  app.component('WeChatLogin', WeChatLogin)
  app.component('MapLocationPicker', MapLocationPicker)
}

export {
  AnyTable,
  WeChatLogin,
  MapLocationPicker,
  AnyMessageBox
}